﻿<Serializable()> _
Public Class PessoaJuridica
    Inherits Pessoa

    Private _CNPJ As String
    Public Overridable Property CNPJ() As String
        Get
            Return _CNPJ
        End Get
        Set(ByVal value As String)
            _CNPJ = value
        End Set
    End Property

    Private _razaoSocial As String
    Public Overridable Property RazaoSocial() As String
        Get
            Return _razaoSocial
        End Get
        Set(ByVal value As String)
            _razaoSocial = value
        End Set
    End Property

    Private _nomeFantasia As String
    Public Overridable Property NomeFantasia() As String
        Get
            Return _nomeFantasia
        End Get
        Set(ByVal value As String)
            _nomeFantasia = value
        End Set
    End Property

    Private _representanteLegal As PessoaFisica
    Public Overridable Property RepresentanteLegal() As PessoaFisica
        Get
            Return _representanteLegal
        End Get
        Set(ByVal value As PessoaFisica)
            _representanteLegal = value
        End Set
    End Property

End Class